<html>
<head><meta charset="utf-8"><title>can&#x27;t reproduce travis failure · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/can&#x27;t.20reproduce.20travis.20failure.html">can&#x27;t reproduce travis failure</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="163952932"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/can%27t%20reproduce%20travis%20failure/near/163952932" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/can&#x27;t.20reproduce.20travis.20failure.html#163952932">(Apr 23 2019 at 01:20)</a>:</h4>
<p>what's the recommended next step when I have a test failure in travis that reproduces in travis, but I can't reproduce locally?</p>



<a name="163952980"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/can%27t%20reproduce%20travis%20failure/near/163952980" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/can&#x27;t.20reproduce.20travis.20failure.html#163952980">(Apr 23 2019 at 01:20)</a>:</h4>
<p>I'm running tests on linux x64, using stage 2</p>



<a name="163952990"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/can%27t%20reproduce%20travis%20failure/near/163952990" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/can&#x27;t.20reproduce.20travis.20failure.html#163952990">(Apr 23 2019 at 01:20)</a>:</h4>
<p>I even checked out the exact merge commit travis was using</p>



<a name="163952993"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/can%27t%20reproduce%20travis%20failure/near/163952993" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/can&#x27;t.20reproduce.20travis.20failure.html#163952993">(Apr 23 2019 at 01:20)</a>:</h4>
<p>in travis I get an ICE, and locally everything passes</p>



<a name="163953004"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/can%27t%20reproduce%20travis%20failure/near/163953004" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/can&#x27;t.20reproduce.20travis.20failure.html#163953004">(Apr 23 2019 at 01:21)</a>:</h4>
<p>here's the failure: <a href="https://travis-ci.com/rust-lang/rust/jobs/194763131" target="_blank" title="https://travis-ci.com/rust-lang/rust/jobs/194763131">https://travis-ci.com/rust-lang/rust/jobs/194763131</a></p>



<a name="163953063"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/can%27t%20reproduce%20travis%20failure/near/163953063" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/can&#x27;t.20reproduce.20travis.20failure.html#163953063">(Apr 23 2019 at 01:22)</a>:</h4>
<p>Is there a way to download the container Travis is using and simulate that run locally?</p>



<a name="163953068"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/can%27t%20reproduce%20travis%20failure/near/163953068" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/can&#x27;t.20reproduce.20travis.20failure.html#163953068">(Apr 23 2019 at 01:22)</a>:</h4>
<p>The only other variables I can think of are using incremental compilation, and having debug assertions / logging enabled</p>



<a name="163953144"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/can%27t%20reproduce%20travis%20failure/near/163953144" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/can&#x27;t.20reproduce.20travis.20failure.html#163953144">(Apr 23 2019 at 01:24)</a>:</h4>
<p>I'll try without those, I guess</p>



<a name="163953617"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/can%27t%20reproduce%20travis%20failure/near/163953617" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Zoxc <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/can&#x27;t.20reproduce.20travis.20failure.html#163953617">(Apr 23 2019 at 01:37)</a>:</h4>
<p>You can use the same docker image as Travis</p>



<a name="163969697"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/can%27t%20reproduce%20travis%20failure/near/163969697" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/can&#x27;t.20reproduce.20travis.20failure.html#163969697">(Apr 23 2019 at 07:56)</a>:</h4>
<p>yeah, if you run <code>src/ci/docker/run.sh image-name</code> you get the exact same tests</p>



<a name="163969713"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/can%27t%20reproduce%20travis%20failure/near/163969713" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/can&#x27;t.20reproduce.20travis.20failure.html#163969713">(Apr 23 2019 at 07:57)</a>:</h4>
<p>beware that running the x86 linux image for the first time takes a <em>long</em> time</p>



<a name="163969721"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/can%27t%20reproduce%20travis%20failure/near/163969721" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/can&#x27;t.20reproduce.20travis.20failure.html#163969721">(Apr 23 2019 at 07:57)</a>:</h4>
<p>since it basically recompiles everything on top of centos 5</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>